#!/bin/bash

ffssh()
{
    ffbackup "/etc/ssh/sshd_config"
    sed -i "/Port/s/^.*$/Port 11011/g" /etc/ssh/sshd_config
    sed -i "s/PermitRootLogin yes/PermitRootLogin no/g" /etc/ssh/sshd_config
    sed -i "/LoginGraceTime/s/^.*$/LoginGraceTime 10/g" /etc/ssh/sshd_config
    sed -i "/PrintLastLog/s/^.*$/PrintLastLog no/g" /etc/ssh/sshd_config
}
